import { createApp } from  'vue'
import routes from './router';
import store from './store';

import App from './App.vue'
import permission from './directives/permission/permission';

import 'styles/index.scss'
import "element-plus/dist/index.css";
import '@vueup/vue-quill/dist/vue-quill.snow.css'

const app = createApp(App);

app.use(routes).use(store).directive('permission', permission).mount('#app')

// setTimeout(() => {
//     app.directive('permission', permission)
// }, 500)